package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.FundPortfolioBean;

/**
* 描述：获取公募基金持仓数据，季度更新
* @author: codesmith
**/
@Data
@TableName("fund_portfolio")
public class FundPortfolioEntity implements FundPortfolioBean {
    
    /*
    * TS基金代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;

    @TableField("`ann_date`") protected LocalDate annDate;
    /*
    * 截止日期
    */
    @TableId
    @TableField("`end_date`") protected LocalDate endDate;

    @TableField("`symbol`") protected String symbol;

    @TableField("`mkv`") protected Double mkv;

    @TableField("`amount`") protected Double amount;

    @TableField("`stk_mkv_ratio`") protected Double stkMkvRatio;

    @TableField("`stk_float_ratio`") protected Double stkFloatRatio;
}